//
//  MapPinsModel.h
//  CleanerAir_Project
//
//  Created by 付亚杰 on 16/5/16.
//  Copyright © 2016年 Beijing Colin El Internet. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    /*  地图界面中蓝点的类型
     0:比较特殊，当筛选时候才会用到
     1:个人 小
     2:企业 大
     3:监测点 
     */
    TYPE_ALL             = 0,
    TYPE_ENTERPRISE      = 1,
    TYPE_PERSONAL        = 2,
    TYPE_DETECTION_POINT = 3
    
}AnnotationViewTypes;


typedef enum {
    /*
     -200:什么也不跳转
     26:餐厅美食
     25:汽车4s店
     1:商场
     19:医院
     */
    JUMP_NO = -200,
    JUMP_FOOD = 26,
    JUMP_CAR_SHOP = 25,
    JUMP_SHOPPING_MALL = 1,
    JUMP_MEDICAL = 19,

}AnnotationViewJumpTypes;//只有商家的蓝点才有这个属性

//大头针
@interface Infos : NSObject

@property (nonatomic, copy) NSString *ids;
@property (nonatomic, copy) NSString *latitude;
@property (nonatomic, copy) NSString *longitude;
@property (nonatomic, copy) NSString *name;//名字
@property (nonatomic, copy) NSString *pic;//图片
@property (nonatomic, copy) NSString *type;//类型
@property (nonatomic, copy) NSString *pm;//pm 2.5

//监测点信息
@property (nonatomic, copy) NSString *form;//监测点来源
@property (nonatomic, copy) NSString *airpot;//空气AQI指数
@property (nonatomic, copy) NSString *version;//空气等级
@property (nonatomic, copy) NSString *mood;//简介




@property (nonatomic, assign) AnnotationViewTypes annotationType;
@property (nonatomic, assign) AnnotationViewJumpTypes jumpType;


@end

//公用请求头
@interface MapPinsModel : NSObject

@property (nonatomic, copy) NSString *code;
@property (nonatomic, copy) NSString *msg;//成功失败
@property (nonatomic, copy) NSString *time;
//信息
@property (nonatomic, strong) NSMutableArray *date;
//{
//    "id":"1",
//    "latitude":"",
//    "longitude":""
//}
@end


//{"code":"0000","msg":"\u6210\u529f","time":"2016-05-16 09:55:44","date":[{"id":"1","latitude":"","longitude":""},{"id":"2","latitude":"","longitude":""},{"id":"3","latitude":"","longitude":""},{"id":"4","latitude":"39.956813","longitude":"116.48059"},{"id":"5","latitude":"","longitude":""},{"id":"6","latitude":"116.423816","longitude":"39.961184"},{"id":"7","latitude":"39.9a50344","longitude":"116.489069"}]}